package com.chongbangbang.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 推荐功能之推荐服务
 * </p>
 *
 * @author TP
 * @since 2022-03-19 15:23:55
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("Recommend_service")
@ApiModel(value = "RecommendService对象", description = "推荐功能之推荐服务")
public class RecommendService implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("Recommend_service表的自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("服务名字、类型")
    @TableField("`type`")
    private String type;

    @ApiModelProperty("适合的宠物")
    @TableField("fit_pet")
    private String fitPet;

    @ApiModelProperty("可治疗的疾病")
    @TableField("fit_sick")
    private String fitSick;

    @ApiModelProperty("描述")
    @TableField("description")
    private String description;

    @ApiModelProperty("地点")
    @TableField("location")
    private String location;

    @ApiModelProperty("价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty("创建时间")
    @TableField(value = "gmt_create", fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    @ApiModelProperty("修改时间")
    @TableField(value = "gmt_modified", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

    @ApiModelProperty("逻辑删除")
    @TableField("delete逻辑删除")
    private Boolean delete逻辑删除;


}
